﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace Wypozyczalnia.Models
{
    
    public class Zamowienia
    {
        public int id { get; set; }
        public string user { get; set; }
        public string zamowienie { get; set; }
        public double kwota { get; set; }
        public int ilosc { get; set; }
        public string uwagi { get; set; }
        public string id_zamowien { get; set; }
        public bool zrealizowane { get; set; }

        [DisplayFormat(DataFormatString = "{0:dd MMM yyyy}", ApplyFormatInEditMode = false)]
        public DateTime data_oddania { get; set; }

        [DisplayFormat(DataFormatString = "{0:dd MMM yyyy}", ApplyFormatInEditMode = false)]
        public DateTime data_wypozyczenia { get; set; }

        public int ilosc_dni { get; set; }
        public bool oddane { get; set; }
    }

   

   
}